﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.Composition;
using JQuery.Net.UI;

namespace JQuery.Net
{
    public interface IJQNGadgetPersonalization
    {
        string ApplicationName { get; }

        bool LoadPersonalizationData(GadgetCommunicationManager gcManager, Uri uri, string login, ref byte[] sharedData, ref byte[] userData);
        bool ResetPersonalizationData(GadgetCommunicationManager gcManager, Uri uri, string login);
        bool SavePersonalizationData(GadgetCommunicationManager gcManager, Uri uri, string login, ref byte[] data);
    }
}
